package com.aigc.sclassroom.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Homework {
    private Long homeworkId;
    private String homeworkName;
    private Long courseManageId;
    private String[] question;
    private Long[] questionId;
    private String[] answer;
    private String state;
    private int[] scoreSet;
    private Integer totalScore;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deadline;
    private Integer sum;
    private Integer submitCount;
}
